home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / Libraries / VideoToolbox 95.04.18 / Demos / testAssign2 < prev    next >
Text File  |  1993-08-04  |  4KB  |  75 lines

  1. m[3][0]=155;m[3][1]=95;m[3][2]=255;m[3][3]=127;m[3][20]=1;
  2. a[7]=1;
  3. a[3]="000000000000000000000000";
  4. a[7]=1;
  5. a="0000000000000000000000007fff7fff40040000000000007fff7fff4004000000000000bfff"
  6.     "bfff80000000000000007fff7fff40040000000000007fff7fff40040000000000007fff7f"
  7.     "ff40040000000000007fff7fff40040000000000007fff7fff40040000000000007fff7fff"
  8.     "40040000000000007fff7fff40040000000000007fff7fff40040000000000007fff7fff40"
  9.     "040000000000007fff7fff40040000000000007fff7fff40040000000000007fff7fff4004"
  10.     "0000000000007fff7fff40040000000000007fff7fff40040000000000007fff7fff400400"
  11.     "00000000007fff7fff40040000000000007fff7fff40040000000000007fff7fff40040000"
  12.     "000000007fff7fff40040000000000007fff7fff40040000000000007fff7fff4004000000"
  13.     "0000007fff7fff40040000000000007fff7fff40040000000000007fff7fff400400000000"
  14.     "00007fff7fff40040000000000007fff7fff4004000000000000";/* array */
  15. message="hello";
  16. //image[-1]=0;
  17. image=
  18. "a11111111111111111111111111111111111111111111111111111111111111111111111"
  19. "1b1111111111111111"
  20. "22222222222222222222222222222222222222";
  21.     viewingDistance="40044004e400000000000000";
  22. image[1]=0;
  23. message=
  24. "\007Hi, this is a long message......................................................"
  25. "more............................................................................"
  26. "more............................................................................"
  27. "and still more..................................................................."
  28. "the end\n";
  29. //    x=3;                    // undefined variable
  30.     viewingDistance="40044004e400000000000000";
  31.     viewingDistance=57.0;
  32.     trials=40;                // char, short, or long, signed or unsigned
  33.     trials="0017";
  34.     kindOfTrial="2IFC";        /* string */
  35.     message="Monitor calibrated November 21, 1993 by Katie Burns";
  36.     a[0]=0;
  37.     a[3]=-1;
  38.     logC=-1.0; maskLogC=-INF;
  39.     logC=0; maskLogC=0.0;
  40. b[1][1]=1.3;
  41. b[0][0]=0.1;
  42. //c[1][1][1]=1.3;
  43. c[0][0][0]=0.1;
  44. c[0][1][2]=0.2;
  45. //c[0][1][3]=0.2;
  46. //c[0][1][-1]=0.2;
  47. //xx[0][0]=0.1;
  48.  
  49. a="0000000000000000000000007fff7fff40040000000000007fff7fff4004000000000000bfff"
  50.     "bfff80000000000000007fff7fff40040000000000007fff7fff40040000000000007fff7f"
  51.     "ff40040000000000007fff7fff40040000000000007fff7fff40040000000000007fff7fff"
  52.     "40040000000000007fff7fff40040000000000007fff7fff40040000000000007fff7fff40"
  53.     "040000000000007fff7fff40040000000000007fff7fff40040000000000007fff7fff4004"
  54.     "0000000000007fff7fff40040000000000007fff7fff40040000000000007fff7fff400400"
  55.     "00000000007fff7fff40040000000000007fff7fff40040000000000007fff7fff40040000"
  56.     "000000007fff7fff40040000000000007fff7fff40040000000000007fff7fff4004000000"
  57.     "0000007fff7fff40040000000000007fff7fff40040000000000007fff7fff400400000000"
  58.     "00007fff7fff40040000000000007fff7fff4004000000000000";/* array */
  59. image="a10011111111111111111111111111111111111111111111111111111111111111111111"
  60.     "1b111111111111111122222222222222222222222222222222222222000000000000000000"
  61.     "000000000000000000000000000000000000000000000000000000";/* Image data */
  62. message="Monitor calibrated November 21, 1993 by Katie Burns";
  63. logC="000000000000000000000000";/* log contrast */
  64. maskLogC="000000000000000000000000";
  65. kindOfTrial="2IFC";
  66. viewingDistance="40044004e400000000000000";/* inches */
  67. trials=23;
  68. b[0]="3ffb3ffbcccccccccccccccd7fff7fff4004000000000000";\
  69. b[1]="7fff7fff40040000000000003fff3fffa666666666666666";
  70. c[0][0]="3ffb3ffbcccccccccccccccd7fff7fff40040000000000007fff7fff40040000000000"
  71.     "00";\
  72. c[0][1]="7fff7fff40040000000000007fff7fff40040000000000003ffc3ffccccccccccccccc"
  73.     "cd";
  74.  
  75.